﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Resources;
using System.Threading;
using System.Globalization;

namespace 杂项
{
    public partial class 国际化 : Form
    {
        public 国际化()
        {
            Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");
            InitializeComponent();

            ResourceManager resManager = new ResourceManager("杂项.Internationalization", System.Reflection.Assembly.GetExecutingAssembly());
           this.Text = resManager.GetString("Program1");

            object obj=resManager.GetObject("img2");
            Bitmap bitimg = obj as Bitmap;
            pictureBox1.Image = bitimg;
        }
    }
}